package config_order.config;

import config_order.bean.Bean1;
import org.springframework.beans.factory.FactoryBean;
import org.springframework.stereotype.Component;

/**
 * 描述：
 *
 * @author 🧑 ‍wanwei
 * @since 2022-10-12 17:15
 */
//@Component
public class FactoryBeanDemo implements FactoryBean {

	@Override
	public Object getObject() throws Exception {
		return new Bean1("1","2","3");
	}

	@Override
	public Class<?> getObjectType() {
		return Bean1.class;
	}
}
